class SideGame extends egret.Sprite{
	public symbol:egret.MovieClip;//道士贴符

	public constructor() {
		super();
		this.init(); 
	};
	
	// 初始化贴符
	private init(){
		var fu = RES.getRes("fu_json");
		
		var fuCont:egret.Texture = RES.getRes("fu_png");
		
		var fuBox:egret.MovieClipDataFactory = new egret.MovieClipDataFactory( fu , fuCont );
		
		this.symbol = new egret.MovieClip(fuBox.generateMovieClipData("fu")); 
		
		this.symbol.scaleX =0.5;
		
		this.symbol.scaleY= 0.5;
		
		this.symbol.visible= false;

		this.addChild(this.symbol);

		this.symbol.gotoAndPlay("fu",-1);
	}
}